<?php

namespace common\widgets;

use yii\widgets\ActiveForm;
use yii\base\Model;

class MyForm extends ActiveForm
{
    public $fieldClass = 'common\widgets\MyField';

    public $successCssClass = '';

    /**
     * @param Model $model
     * @param string $attribute
     * @param array $options
     * @return MyField
     */
    public function field($model, $attribute, $options = [])
    {
        return parent::field($model, $attribute, $options);
    }
}